import {getPath} from "./util";

const RouterEvaluation = [
  {
    path: getPath('/evaluation-list'),
    name: 'evaluation-list',
    component: resolve => require([`@/pages/evaluation/evaluation-list`], resolve),
  },
  {
    path: getPath('/evaluation-desc/:evaluationId'),
    name: 'evaluation-desc',
    component: resolve => require([`@/pages/evaluation/evaluation-desc`], resolve),
  },
  {
    path: getPath('/evaluation-report/:evaluationId/:resultId'),
    name: 'evaluation-report',
    component: resolve => require([`@/pages/evaluation/evaluation-report`], resolve),
  },
  {
    path: getPath('/evaluation-test/:evaluationId'),
    name: 'evaluation-test',
    component: resolve => require([`@/pages/evaluation/evaluation-test`], resolve),
  },
  {
    path: getPath('/evaluation-log'),
    name: 'evaluation-log',
    component: resolve => require([`@/pages/evaluation/evaluation-log`], resolve),
  },
];

export default RouterEvaluation
